package com.enjoyor.soa.traffic.server.efoms.dubbo.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.enjoyor.soa.traffic.api.service.dubbo.efoms.IDubboSurveyDeviceCollectInfoService;
import com.enjoyor.soa.traffic.server.efoms.dubbo.manage.ManageSurveyDeviceCollectInfoService;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

@SuppressWarnings("rawtypes")
@Service(version = "1.0.0", timeout = 4000)
public class DubboSurveyDeviceCollectInfoService implements IDubboSurveyDeviceCollectInfoService{

	@Autowired
	private ManageSurveyDeviceCollectInfoService manageSurveyDeviceCollectInfoService;
	@Override
	public ResultPojo getDeviceUnnormalCollectInfoList(String devTypeCode) {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.getDeviceUnnormalCollectInfoList(devTypeCode);
	}
	@Override
	public ResultPojo getDeviceUnNorForArea(String devTypeCode) {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.getDeviceUnNorForArea(devTypeCode);
	}
	@Override
	public ResultPojo getDeviceNowCollectSum(String beginTime, String endTime,String devTypeCode) {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.getDeviceNowCollectSum(beginTime, endTime,devTypeCode);
	}
	@Override
	public ResultPojo getCheckCountForDeptIdAndSum() {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.getCheckCountForDeptIdAndSum();
	}
	@Override
	public ResultPojo getRepCountForDeptIdAndSum() {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.getRepCountForDeptIdAndSum();
	}
	@Override
	public ResultPojo getRepSourceCount(String devTypeCode) {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.getRepSourceCount(devTypeCode);
	}
	@Override
	public ResultPojo getRepSourceCountForDept(String devTypeCode) {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.getRepSourceCountForDept(devTypeCode);
	}
	@Override
	public ResultPojo getFaultCollectReal(String devTypeCode) {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.getFaultCollectReal(devTypeCode);
	}
	@Override
	public ResultPojo getFaultCollectRealTrend(String devTypeCode, String beginTime, String endTime) {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.getFaultCollectRealTrend(devTypeCode,beginTime, endTime);
	}
	
	@Override
	public ResultPojo selectDeviceFaultCollectInfoList(String devTypeCode) {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.selectDeviceFaultCollectInfoList(devTypeCode);
	}

	@Override
	public ResultPojo selectDeviceFaultCollectByDevTypeCode(String devTypeCode) {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.selectDeviceFaultCollectByDevTypeCode(devTypeCode);
	}

	@Override
	public ResultPojo selectDevFaColGroupByDepId(String devTypeCode) {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.selectDevFaColGroupByDepId(devTypeCode);
	}
	@Override
	public ResultPojo selectOppmWorkCollectInfoList(String devTypeCode) {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.selectOppmWorkCollectInfoList(devTypeCode);
	}
	@Override
	public ResultPojo getWarningCountForToday(String devTypeCode) {
		// TODO Auto-generated method stub
		return manageSurveyDeviceCollectInfoService.getWarningCountForToday(devTypeCode);
	}

}
